package com.cskaoyan.javase.basic._3operator;

/**
 * 算术运算符
 * @since 17:52
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        int num1 = 10;
        int num2 = 3;
        // int/int = int
        System.out.println(num1 / num2);
        // int/double = double
        System.out.println(num1 / (num2 * 1.0));


    }
}
